package com.zy.design.ocp.ns;

import com.zy.design.ocp.old.AlertRule;

/**
 * @author zhaoyi
 * @date 2021/3/15 17:48
 */
public class AlertRule2 {

    private long maxTps;
    private long maxErrorCount;

    //添加字段
    private long maxTimeoutTps;


    public AlertRule2 getMatchedRule(String api) {
        return new AlertRule2();
    }

    public long getMaxTps() {
        return maxTps;
    }

    public long getMaxErrorCount() {
        return maxErrorCount;
    }

    public long getMaxTimeoutTps() {
        return maxTimeoutTps;
    }

    public void setMaxTimeoutTps(long maxTimeoutTps) {
        this.maxTimeoutTps = maxTimeoutTps;
    }
}
